package wechat.handler.request.webauth.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import wechat.handler.bean.request.webauth.WebAuthAccesstokenBean;
import wechat.handler.request.base.BaseWebAuth;
import wechat.handler.request.webauth.IWebAuth;

public class WebAuth extends BaseWebAuth implements IWebAuth {
	private Logger log = LoggerFactory.getLogger(WebAuth.class);
	
	public WebAuthAccesstokenBean getWebAccesstoken(String code) throws Exception {
		log.info("WebAuth--getWebAccesstoken  code=" + code);
		return super.getWebAccesstoken(code);
	}
	
	
	public WebAuthAccesstokenBean getWebAccesstoken(String appid ,String code) throws Exception {
		log.info("WebAuth--getWebAccesstoken  appid=" + appid + " code=" + code);
		return super.getWebAccesstoken(appid,code);
	}
	
	public String getJSTicket() throws Exception {
		return super.getJSTicket();
	}
	
	public String getJSTicket(String appid) throws Exception {
		return super.getJSTicket(appid);
	}
	
	
}
